package com.moli.iov.notify.enums;

/**
 *
 * Response status enum.
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/12 11:20 AM.
 *
 */
public enum ResponseStatusEnum {

  /**
   * Response success status.
   */
  SUCCESS(200, "成功"),

  /**
   * Response failure status.
   */
  FAILURE(400, "失败");

  /**
   * Response status code.
   */
  private int statusCode;

  /**
   * Response status value.
   */
  private String statusValue;

  ResponseStatusEnum(int statusCode, String statusValue) {
    this.statusCode = statusCode;
    this.statusValue = statusValue;
  }

  public int getStatusCode() {
    return statusCode;
  }

  public void setStatusCode(int statusCode) {
    this.statusCode = statusCode;
  }

  public String getStatusValue() {
    return statusValue;
  }

  public void setStatusValue(String statusValue) {
    this.statusValue = statusValue;
  }

}